package com.grj.parkingsystem.service;

import com.grj.parkingsystem.entity.ParkingOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author ganru
* @description 针对表【t_parking_order(停车订单表)】的数据库操作Service
* @createDate 2025-05-16 16:51:44
*/
public interface ParkingOrderService extends IService<ParkingOrder> {
    String generateOrderNumber();
    ParkingOrder createEntryOrder(String  token, Long parkingLotId, Long spaceId);
    boolean exitParking(String  token);
    List<ParkingOrder> getUserOrders(String  token, Integer status);
    ParkingOrder getOrderDetail(String token, Long orderId);
}
